package com.jm.model.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author kong
 * @since 2023-06-25
 */
@Data()
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("t_pl")
public class Pl extends Model<Pl> {

    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String name;

    private Long vtScore;

    private Long odScore;

    private Long maxScopeScore;

    private Long minScopeScore;


    @Override
    public Serializable pkVal() {
        return this.id;
    }

}
